using CardGameObject.GameScene;

namespace CArdEffect
{
    public class MonsterEffect
    {
        private GameManager GameManager { get; set; } = GameManager.GetInstance();

        public void IncreaseAttackOneself(int value)
        {
            GameManager.CurLaunchMonster.GetComponent<GameCard>().IncreaseAttack(value);
        }

        public void IncreaseHealthOneself(int value)
        {
            GameManager.CurLaunchMonster.GetComponent<GameCard>().IncreaseHealth(value);
        }

        public void RecoverOneself(int value)
        {
            GameManager.CurLaunchMonster.GetComponent<GameCard>().Recover(value);
        }
    }
}